package com.twu.biblioteca.Library;

public class Book {
    private final String name;
    private final String author;
    private boolean available;
    private String borrower;

    public Book(String name, String author) {
        this.name = name;
        this.author = author;
        available = true;
    }

    public String getName() {
        return name;
    }

    public String getAuthor() {
        return author;
    }

    public boolean isAvailable() {
        return available;
    }

    public void setAvailable(boolean available) {
        this.available = available;
    }

    public String getBorrower() {
        return borrower;
    }

    public void setBorrower(String borrower) {
        this.borrower = borrower;
    }
}
